﻿@model LetLord.Models.UserProfile

@{
    ViewBag.Title = "Account created!";
}
<div class="row-fluid well">
    <h2>Your account has been created successfully, @User.Identity.Name!</h2>
    <p>Click the button below to go to your profile where you can edit your details, enter your preferences and start using Letlord.</p>
    @if (Model.AccountType == LetLord.Models.AccountType.Tenant)
    {
        <p>@Html.ActionLink("Go to my profile", "MyProfile", "Tenants", routeValues: null, htmlAttributes: new { @class = "btn btn-large btn-primary", @id = "btn-sign-up" })</p>
    }
    else if (Model.AccountType == LetLord.Models.AccountType.Landlord)
    {
        <p>@Html.ActionLink("Go to my profile", "Profile", "Landlords", routeValues: null, htmlAttributes: new { @class = "btn btn-large btn-primary", @id = "btn-sign-up" })</p>
    }
</div>

